// 用户相关
import { request } from "@/utils";


export function loginApi (loginForm) {
    return request({
        url: '/authorizations',
        method: 'post',
        data: loginForm
    })
}


export function getUserInfoApi () {
    return request({
        url: '/user/profile',
        method: 'get'
    })
}
